import java.util.ArrayList;


public class LinkerIntermediate extends ArrayList<LinkerLine> {
	public void addLine(LinkerLine linkerline){
		this.add(linkerline);
	}
	
	public LinkerLine getLine(int linenumber){
		return this.get(linenumber);
	}
	
	public int errorCount(){
		int total = 0;
		for(LinkerLine l:this){
			total += l.getErrors().size();
		}
		return total;
	}
}
